﻿using Demo.WebApi.Context;
using Demo.WebApi.Models.Products;
using Volo.Abp.DependencyInjection;

namespace Demo.WebApi.Repository
{
    [Dependency(ServiceLifetime.Singleton)]
    public class ProductRepository : BaseRepository<Product> //IProductRepository
    {
        //public DemoWenApiContext  context { get; set; }

        //public void Delete(Product product)
        //{
           
        //}

        //public void Insert(Product product)
        //{
        //   context.products.Add(product);   
        //   context.SaveChanges();
        //}

        //public List<Product> Select(Product product)
        //{
        //   return context.products.ToList();
        //}

        //public void Update(Product product)
        //{
          
        //}
    }
}
